<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="ui styled accordion">
	<c:forEach var="firstItem" items="${descTree }">
		<c:set var="firstKey" value="${firstItem.key }"></c:set>
		<c:set var="firstValue" value="${firstItem.value }"></c:set>
		<div class=' title'>
			<i class="dropdown icon"></i> ${firstKey }
		</div>
		<div class=' content'>
			<div class="accordion" style="display: block !important;">
				<c:forEach var="secondItem" items="${firstValue }">
					<c:set var="secondKey" value="${secondItem.key }"></c:set>
					<c:set var="secondValue" value="${secondItem.value }"></c:set>
					<div class=' title'>
						<i class="dropdown icon"></i> ${secondKey }
					</div>
					<div class=' content'>
						<div class="ui secondary diveder vertical  menu">
							<c:forEach var="thridItem" items="${secondValue }">
								<a class=' item'
									href="/major/${thridItem.description_id }/base.html"
									target="_blank">${thridItem.description_name }</a>
							</c:forEach>
						</div>
					</div>
				</c:forEach>
			</div>
		</div>
	</c:forEach>
</div>